//
//  Area.swift
//  fansarea
//  面向对象编程  --modle
//  Created by 张 on 2018/1/26.
//  Copyright © 2018年 张. All rights reserved.
//面向对象的概念，这里shift推荐使用结构体。。
//

struct Area {
    
    var name:String
    var province:String
    var part:String
    var image:String
    var isVistied:Bool
    var rating = ""
    
    init(name: String, province: String, part: String, image: String, isVistied: Bool) {
        self.name = name
        self.province = province
        self.part = part
        self.image = image
        self.isVistied = isVistied
        
    }
    
}


//Area(name:"闵行区莘庄镇",province:"上海",part:"华东",image:"xinzhuang",isVistied:false),
//Area(name:"闵行区莘庄镇",province:"上海",part:"华东",image:"xinzhuang",isVistied:false),
//Area(name:"闵行区莘庄镇",province:"上海",part:"华东",image:"xinzhuang",isVistied:false),
//Area(name:"闵行区莘庄镇",province:"上海",part:"华东",image:"xinzhuang",isVistied:false),
//Area(name:"闵行区莘庄镇",province:"上海",part:"华东",image:"xinzhuang",isVistied:false),
//Area(name:"闵行区莘庄镇",province:"上海",part:"华东",image:"xinzhuang",isVistied:false),
//Area(name:"闵行区莘庄镇",province:"上海",part:"华东",image:"xinzhuang",isVistied:false),
//Area(name:"闵行区莘庄镇",province:"上海",part:"华东",image:"xinzhuang",isVistied:false),
//Area(name:"闵行区莘庄镇",province:"上海",part:"华东",image:"xinzhuang",isVistied:false),
//Area(name:"闵行区莘庄镇",province:"上海",part:"华东",image:"xinzhuang",isVistied:false)

